projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d2d22a
)
(move_it_to): Handle GET_FROM_STRETCH method when checking for pos
author
Chong Yidong
<cyd@stupidchicken.com>
Tue, 30 Dec 2008 14:50:19 +0000
(14:50 +0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Tue, 30 Dec 2008 14:50:19 +0000
(14:50 +0000)
match.
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index ee5ecbab447948bd62ab4a59fedfb327bc791b84..60a132337f9f2ff5c615cfbbc1d8243d2fa64195 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-7206,7
+7206,8
@@
move_it_to (it, to_charpos, to_x, to_y, to_vpos, op)
break;
}
else if (BUFFERP (it->object)
- && it->method == GET_FROM_BUFFER
+ && (it->method == GET_FROM_BUFFER
+ || it->method == GET_FROM_STRETCH)
&& IT_CHARPOS (*it) >= to_charpos)
skip = MOVE_POS_MATCH_OR_ZV;
else